#include "LUOZI.h"
#include <iomanip>
#include<iostream>
using namespace std;
#define black 7
#define white 8
int LUOZI::luozi(int chess[15][15], int x, int y,int time)
{
	int count = time,x_point=x,y_point=y;
	if (0 == count % 2)
		chess[x_point][y_point] = white;
	if (1 == count % 2)
		chess[x_point][y_point] = black;
	int i, j, k;
	cout << " 00";
	for (k = 0; k < 15; k++)
		cout << setw(3) << k + 1;
	cout << endl;
	for (i = 0; i < 15; i++)
	{
		cout << setw(3) << i + 1;
		for (j = 0; j < 15; j++)
		{
			cout << setw(3)<<chess[i][j];
		}
		cout << endl;
	}
	return 0;
}
